import { baseUrl } from './baseUrl';
import request from '@/utils/request';

//查询问题来源
export async function querySourceProblem(params) {
  return request(`${baseUrl}/Config/GetSourceProblem`, {
    method: 'POST',
    data: params,
  });
}

//路名提示
export async function autoCompleteRoadName(params) {
  return request(`${baseUrl}/Config/RoadSearch`, {
    method: 'POST',
    data: params,
  });
}

//市政养护单位
export async function getGroupMunicipalList(params) {
  return request(`${baseUrl}/Config/GetGroupMunicipal`, {
    method: 'POST',
    data: params,
  });
}

//园林养护单位
export async function getGroupLandspaceList(params) {
  return request(`${baseUrl}/Config/GetGroupLandspace`, {
    method: 'POST',
    data: params,
  });
}